﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SowLatestHybrization.aspx.cs"
    Inherits="OnlineManagement.Web.webs.SowLatestHybrization" %>

<%@ Register Assembly="OnlineControl" Namespace="OnlineControl" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <style type="text/css">
        .panInfo
        {
           width:620px; 
           height:150px;
            }
        #hybrizationTable .hovertable
        {
            font-family: Verdana,Arial,Helvetica,sans-serif;
            font-size: 11px;
            color: #333333;
            border-width: 1px;
            border-color: #999999;
            border-collapse: collapse;
        }
        #hybrizationTable table.hovertable th
        {
            background-color: #c3dde0;
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #a9c6c9;
        }
        #hybrizationTable table.hovertable tr
        {
            background-color: #d4e3e5;
        }
        #hybrizationTable table.hovertable td
        {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #a9c6c9;
        }
    </style>
    <title></title>
</head>
<body>
    <form runat="server">
    <div>
        <asp:Label runat="server" ID="lbMsg"></asp:Label>
        <asp:Panel runat="server" ID="panInfo" CssClass="panInfo">
        <div style="font-weight:bold; height:20px">
            <span>母猪配种详细信息表</span>
        </div>
            <div id="hybrizationTable">
                <asp:Repeater runat="server" ID="repeaterShow">
                    <HeaderTemplate>
                        <table class="hovertable">
                            <tr>
                                <th>
                                    配种次数
                                </th>
                                <th>
                                    配种时间
                                </th>
                                <th>
                                    配种员
                                </th>
                                <th>
                                    与配公猪耳号
                                </th>
                                <th>
                                    与配公猪品种
                                </th>
                                <th>
                                    配种备注
                                </th>
                            </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr onmouseover="this.style.backgroundColor='#ffff66';" onmouseout="this.style.backgroundColor='#d4e3e5';">
                            <td>
                                <asp:Label runat="server" ID="lbHybridizationCountName"></asp:Label>
                            </td>
                            <td>
                                <%#Eval("HybridizationDate","{0:yyyy年MM月dd日 HH点mm分}") %>
                            </td>
                            <td>
                                <%#Eval("HybridizationPerson")%>
                            </td>
                             <td>
                                <%#Eval("BoarBitID")%>
                            </td>
                             <td>
                                <%#Eval("BoarPigTypeName")%>
                            </td>
                            <td>
                            <asp:Label runat="server" ID="lbComment"></asp:Label>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </asp:Panel>
    </div>
    </form>
</body>
</html>
